ARCHS = x86 mips

all: $(ARCHS)

$(ARCHS):
	make -C $@.dir
	ar -r lib$@.a $@.dir/*.o

clean:
	rm *.a
	rm */*.o	
